Ingredients:
Recipe:
Virtual box networking
Setup an Internal Network with Virtualbox
Note: Above, Please replace 10.10.10 to 192.168.64
On Linux(Ubuntu):
vboxmanage dhcpserver add --netname mydhcpnetwork --ip 192.168.64.1 --netmask 255.255.255.0 --lowerip 192.168.64.2 --upperip 192.168.64.10 --enable
--netname mydhcpnetwork: The internal network will be named 'mydhcpnetwork'.
--ip 192.168.64.1: The IP address of your DHCP server inside the internal network.
--netmask 255.255.255.0: The subnet mask.
--lowerip 192.168.64.2: The lower bound of the IP addresses that can be assigned to network members.
--upperip 192.168.64.10: The upper bound of the same thing.
--enable: Enable the DHCP server.
vboxmanage list dhcpservers
Configuration of Ingredients:
*Physical Address Extension (PAE), sometimes referred to as Page Address Extension
Metasploitable 2
Linux,Ubuntu 32bit
RAM 512mb
Storage 8GB
Network same as above except do not enable NAT only configure network adapter 1.
After installing and starting metasploit login and see the ip address and to learn more see Metasploit Setup Guide from Rapid7
OWASP Webgoat
(Learn more : https://owasp.org/www-project-webgoat/)
We are doing this in Kali VM.
Install JAVA and Apache Tomcat (Make Sure Java is in your path This should already be the case after you install Java. If it is not, add it to your path)
Browse and go to http://localhost:8080/WebGoat to get the login screen.
WARNING 1: While running this program your machine will be extremely vulnerable to attack. You should disconnect from the Internet while using this program. WebGoat’s default configuration binds to localhost to minimize the exposure.
WARNING 2: This program is for educational purposes only. If you attempt these techniques without authorization, you are very likely to get caught. If you are caught engaging in unauthorized hacking, most companies will fire you. Claiming that you were doing security research will not work as that is the first thing that all hackers claim.
Finished Dish: